Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: appendsdone abort and handle multiple id3 sections. #971

Merged
merged 3 commits into from
Oct 6, 2020

Conversation

brandonocasey
Copy link
Contributor

appendsdone may cause an abort in segmentloaders which can then cause pendingSegment to be null after we just null checked it. Instead we should check if we have a pendingSegment then trigger appends done and see if an abort happens.

@brandonocasey brandonocasey changed the title fix: appendsdone abort fix: appendsdone abort and handle multiple id3 sections. Oct 6, 2020
@gkatsev gkatsev merged commit 57260e3 into 2.2.x Oct 6, 2020
@gkatsev gkatsev deleted the fix/appendsdone-abort branch October 6, 2020 20:43
gkatsev pushed a commit that referenced this pull request Oct 13, 2020
appendsdone may cause an abort in segmentloaders which can then cause pendingSegment to be null after we just null checked it. Instead we should check if we have a pendingSegment then trigger appends done and see if an abort happens.

We also want to make sure that if audio contains multiple id3 sections, we support playing back to it as we did in previos versions of VHS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants